package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "签名人,签名日期,图片")
public class BpWorkSafetySigenerJsonBean implements Serializable {
    //签名人id
    @ApiModelProperty(value = "签名人id")
    //  @NotNull(message = "签名人不能为空")
    private Long userId;
    @ApiModelProperty(value = "签名人姓名:返回前端")
    private String userName;

//    @ApiModelProperty(value = "人员类型:0公司人员,1承包商")
//    private Integer userType;

    //签名日期
    @ApiModelProperty(value = "签名日期")
    //  @NotNull(message = "签名日期不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    //签名图片
    @ApiModelProperty(value = "签名图片")
    //  @NotNull(message = "签名图片不能为空")
    private com.joysuch.wwyt.core.bean.BaseAttachmentBean BaseAttachmentBean;
}
